package com.mhh.selary.backend.dto.user;

import com.mhh.sdk.beans.dto.BaseDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;

/**
 * @author mhh
 * @date 2020-11-25 17:19:25
 */
@Getter
@Setter
public class UserSwitchDTO extends BaseDTO {

    @ApiModelProperty(value = "id", required = true)
    @NotNull(message = "id不能为空")
    private Long id;

    @ApiModelProperty(value = "是否启用(true-启用，false-禁用)", required = true)
    @NotNull(message = "是否启用不能为空")
    private Boolean enable;
}
